pub fn odd_fibnacci_sum(threshold: u32) -> u32 {
    let mut first = 1;
    let mut second = 1;
    let mut sum = first + second;
    let mut temp = sum;
    while temp < threshold {
        //print!("{}  ", temp);
        first = second;
        second = temp;
        if second % 2 == 1 {
            sum += second;
        }
        temp = first + second;
    }
    //println!();
    sum
}
